Ext.define("MyFirstApp.view.StatusHistory",{
    extend: 'Ext.Panel',
    xtype: 'statushistory',
    config: {
        title: 'Status History',
        layout:'fit',
        items: [
            {
                xtype:'list',
                disableSelection: true,
                store:'StatusHistories',
                itemTpl:[
                    '<div><img src="resources/status/status_{status}.png"></div>',
                    '<div>{timestamp:date("Y-m-d H:i:s")}</div>'
                ],
                itemCls:'status-entry',
                loadingText: 'Loading...'
            }
        ]
    }
});